﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <title>My  'Edit' starting page</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
</head>
<body>
    <div style="width: auto; height: 900px;">
        <!-- *************************PageOffice组件的使用******************************** -->
        <script type="text/javascript">           
            function Save() {
                var myObject = {};
                myObject.id = pageofficectrl.WindowParams;
                var params = new URLSearchParams(myObject);
                var saveUrl = "/ExaminationPaper/SaveDoc";
                pageofficectrl.SaveFilePage = `${saveUrl}?${params.toString()}`;
                
                pageofficectrl.WebSave();
            }
           
            function OnPageOfficeCtrlInit() {
                pageofficectrl.AddCustomToolButton("保存", "Save", 1);
            }
        </script>
        @Html.Raw(ViewBag.poCtrl)
        <!-- *************************PageOffice组件的使用******************************** -->
    </div>
</body>
</html>